package com.xiaouyudeguang.common.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableFeignClients("com.*.*.*.api")
@ConditionalOnExpression("${api.feign.enabled:false}")
public class FeignConfig {

}
